package design.adapter;

/**
 * <p>
 * obj test
 * </P>
 *
 * @author dingwen
 * @date 2021.10.15 16:36
 */
public class ObjTest {
    public static void main(String[] args) {
        MediaPlayer mediaPlayer = new MediaPlayerImpl();
        mediaPlayer.play("mp3", "beyond the horizon.mp3");
        mediaPlayer.play("mp4", "alone.mp4");
        mediaPlayer.play("vlc", "far far away.vlc");
        mediaPlayer.play("avi", "mind me.avi");
    }
}
